﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="modifyPassword.aspx.cs" Inherits="WuxiWTO.Web.modifyPassword" %>

<%@ Register Src="~/UserControl/userInfo.ascx" TagName="info" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="con_left">
        <uc1:info ID="info1" runat="server" />
    </div>
    <div class="con_right">
        <div class="con_right_position">
            用户中心 >> 修改密码
        </div>
        <div class="main_con">
            <h2 class="main_con_title">
                修改密码
            </h2>
            <div class="con_right_info">
                <table width="600px" border="0" cellpadding="0" cellspacing="0" class="changePW">
                    <tbody>
                        <tr>
                            <td width="100" align="right">
                                旧密码：
                            </td>
                            <td width="180">
                                <asp:TextBox ID="txtOldPass" CssClass="i_text" runat="server"
                                    TextMode="Password" />
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="rfv1" ErrorMessage="必填" ControlToValidate="txtOldPass"
                                    CssClass="red" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                新密码：
                            </td>
                            <td>
                                <asp:TextBox ID="txtNewPass" CssClass="i_text" runat="server"
                                    TextMode="Password" />
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="rfv2" ErrorMessage="必填" ControlToValidate="txtNewPass"
                                    CssClass="red" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                确认新密码：
                            </td>
                            <td>
                                <asp:TextBox ID="txtNewPass2" CssClass="i_text" runat="server"
                                    TextMode="Password" />
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="rfv3" ErrorMessage="必填" ControlToValidate="txtNewPass2"
                                    CssClass="red" runat="server" />
                                <asp:CompareValidator ID="CompareValidator1" CssClass="red" ErrorMessage="两次密码不一致"
                                    ControlToValidate="txtNewPass2" ControlToCompare="txtNewPass" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td colspan="2">
                                <asp:Button Text="提 交" ID="btnSubmit" OnClick="btnSubmit_Click" CssClass="btn" runat="server" />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
